Package com.cisco.pt.ipc.sim.pdu.impl
Class SnapLLCHeaderImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.LLCHeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.SnapLLCHeaderImpl
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.LLCHeaderImpl
controlField, dsap, infoField, length, ssapFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
payloadFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) intintvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetOrgCode(int orgCode) voidsetProtocolId(int protocolId) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.LLCHeaderImpl
getControlField, getDsap, getInfoField, getLength, getSsap, setControlField, setDsap, setInfoField, setLength, setSsapMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
getPayload, setPayloadMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.LLCHeader
getControlField, getDsap, getInfoField, getLength, getSsap, setControlField, setDsap, setInfoField, setLength, setSsapMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
orgCode
protected int orgCode -
protocolId
protected int protocolId
-
-
Constructor Details
-
SnapLLCHeaderImpl
public SnapLLCHeaderImpl()
-
-
Method Details
-
getOrgCode
public int getOrgCode()- Specified by:
getOrgCodein interfaceSnapLLCHeader- Returns:
- int Returns a int
-
setOrgCode
public void setOrgCode(int orgCode) - Specified by:
setOrgCodein interfaceSnapLLCHeader- Parameters:
orgCode- Takes in a parameter of orgCode
-
getProtocolId
public int getProtocolId()- Specified by:
getProtocolIdin interfaceSnapLLCHeader- Returns:
- int Returns a int
-
setProtocolId
public void setProtocolId(int protocolId) - Specified by:
setProtocolIdin interfaceSnapLLCHeader- Parameters:
protocolId- Takes in a parameter of protocolId
-
getFieldType
- Overrides:
getFieldTypein classLLCHeaderImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classLLCHeaderImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classLLCHeaderImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classLLCHeaderImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classLLCHeaderImpl
-